<?php

/**
 * 收费标准model
 */
namespace backend\models\novel;

use Yii;
use yii\db\ActiveRecord;
use yii\data\Pagination;
use yii\data\ArrayDataProvider;

class NovelCharge extends ActiveRecord
{
    
    /**
     * 获取所有标准
     */
    public static function getAllCharge()
    {
        $model = self::find();
        $model->where(['charge_status'=>1]);
        $data = $model->asArray()->all();
        return $data;
    }
    
}

